package ru.teleology.cubefs.api.reflection.number;

import ru.teleology.cubefs.api.reflection.NativeType;
import ru.teleology.cubefs.api.reflection.Types;

@NativeType(name = Types.SHORT_TYPE)
public class ShortNumber extends Number {

	public ShortNumber(long handle, boolean weak) 
	{
		super(handle, weak);
	}

	public ShortNumber(long handle) 
	{
		super(handle);
	}
	
	public short GetValue() {
		return GetValue(getHandle());
	}
	
	private static native short GetValue(long me);
}
